package com.shi.entity;

/**
 * Author 史豪通
 * Date 2024/11/20 20:14
 */
public class InfoVo {
    private Long objId;
    private Long devId;
    private Long onTime;
    private Long offTime;
    private Integer onCount;
    private Integer offCount;

    public InfoVo() {
    }

    public InfoVo(Long objId, Long devId, Long onTime, Long offTime, Integer onCount, Integer offCount) {
        this.objId = objId;
        this.devId = devId;
        this.onTime = onTime;
        this.offTime = offTime;
        this.onCount = onCount;
        this.offCount = offCount;
    }

    public Long getObjId() {
        return objId;
    }

    public void setObjId(Long objId) {
        this.objId = objId;
    }

    public Long getDevId() {
        return devId;
    }

    public void setDevId(Long devId) {
        this.devId = devId;
    }

    public Long getOnTime() {
        return onTime;
    }

    public void setOnTime(Long onTime) {
        this.onTime = onTime;
    }

    public Long getOffTime() {
        return offTime;
    }

    public void setOffTime(Long offTime) {
        this.offTime = offTime;
    }

    public Integer getOnCount() {
        return onCount;
    }

    public void setOnCount(Integer onCount) {
        this.onCount = onCount;
    }

    public Integer getOffCount() {
        return offCount;
    }

    public void setOffCount(Integer offCount) {
        this.offCount = offCount;
    }

    @Override
    public String toString() {
        return "InfoVo{" +
                "objId=" + objId +
                ", devId=" + devId +
                ", onTime=" + onTime +
                ", offTime=" + offTime +
                ", onCount=" + onCount +
                ", offCount=" + offCount +
                '}';
    }
}
